$border-color: #e2e2e2;

@mixin flex-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

header {
  &{
    @include flex-content();
    border: 1px solid #e1e0e1;
  }
  .title {
    background: green;
    padding: 0;
    margin: 0;
  }
}

#main {
  &{
    @include flex-content();
  }
  #menu {
    z-index: 1;
    position: fixed;
  }
  #content {
    z-index: 0;
  }
}
.home-nav {
  &{
    height: 60px;
  }
  .nav-cs {
    float: left;
    height: 100%;
    border: 1px solid $border-color;
    background: #f6f6f6;
    margin-left: -1px;
    border-top: 0;
  }
  p.nav-name {
    writing-mode: tb-rl;
    float: left;
    margin-top: 12px;
    border-right: 1px solid $border-color;
    padding-right: 10px;
    font-weight: bold;
    color: #c22c21;
    cursor: default;
  }
  a.nav-link {
    display: inline-block;
    margin-top: 6.5px;
    margin-right: 10px;
    color: #414141;
  }
  .nav-cs:nth-of-type(1) {
    &{
      width: 180px;
    }
  }
  .nav-cs:nth-of-type(2) {
    &{
      width: 330px;
    }
  }
  .nav-cs:nth-of-type(3) {
    width: 215px;
  }
  .nav-cs:nth-of-type(4) {
    width: 131px;
  }
}

#footer {
  &{
    margin: 0 auto;
  }
}